package com.yjd.comm.order.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：订单总表模型<br>
 * <b>time</b>：2017-07-06 14:11:23 <br>
 * <b>author</b>：  carl
 */
public class OrderModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	 /*
	  *订单唯一id 
	  */
	private Long order_id;

	/*
	 * 订单编号
	 */
	private String order_no;
	 /*
	  *用户id 
	  */
	private Long user_id;
	 /*
	  *所属机构 
	  */
	private Long org_id;
	 /*
	  *订单总金额 
	  */
	private Double order_amount;
	 /*
	  *贷款金额 
	  */
	private Double loan_amount;
	 /*
	  *现金金额 
	  */
	private Double cash_amount;
	 /*
	  *贷款期数 
	  */
	private Integer period;
	 /*
	  *贷款利率 
	  */
	private Double loan_rate;
	 /*
	  *应还总金额(贷款金额+利息) 
	  */
	private Double total_amount;
	 /*
	  *首付金额 
	  */
	private Double payment;
	 /*
	  *利息金额 
	  */
	private Double interest_price;
	 /*
	  *已还金额 
	  */
	private Double interest_pay;
	 /*
	  *罚息金额 
	  */
	private Double fine_price;
	 /*
	  *当前已还期数 
	  */
	private Integer limit_pay;
	 /*
	  *服务费 
	  */
	private Double manage_price;
	 /*
	  *订单状态   订单状态 1 申请成功  2 还款中 3 取消受理中   -1商户拒绝  -2 自助取消 -3 商户确认取消     
	  */
	private Integer status;
	 /*
	  *申请退款状态 0未申请退款 1退款通过 2退款拒绝 
	  */
	private java.lang.Integer refund_status;
	 /*
	  *审批退款时间 
	  */
	private Long approve_refund_time;
	 /*
	  *新增时间 
	  */
	private Long create_time;
	 /*
	  *修改时间 
	  */
	private Long last_update_time;

	 /*
	  *商户确认时间 
	  */
	private Long confirm_time;
	 /*
	  *应结算日期 
	  */
	private Long clear_date;

	/**
	 * 订单拒绝码 默认为'' A下错订单/取消订单  B 手术已做 C 其他
	 */
	private String refuse_code;

	/**
	 * 订单类型  1 普通订单  2 vip订单  默认为1
	 */
	private Integer order_type;
	 /*
	  *资金渠道 默认0:未使用第三方资金，详见mfq_fund_channel 
	  */
	private java.lang.Integer fund_channel;

	public Long getOrder_id() {
		return order_id;
	}

	public void setOrder_id(Long order_id) {
		this.order_id = order_id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Long getOrg_id() {
		return org_id;
	}

	public void setOrg_id(Long org_id) {
		this.org_id = org_id;
	}

	public Double getOrder_amount() {
		return order_amount;
	}

	public void setOrder_amount(Double order_amount) {
		this.order_amount = order_amount;
	}

	public Double getLoan_amount() {
		return loan_amount;
	}

	public void setLoan_amount(Double loan_amount) {
		this.loan_amount = loan_amount;
	}

	public Double getCash_amount() {
		return cash_amount;
	}

	public void setCash_amount(Double cash_amount) {
		this.cash_amount = cash_amount;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Double getLoan_rate() {
		return loan_rate;
	}

	public void setLoan_rate(Double loan_rate) {
		this.loan_rate = loan_rate;
	}

	public Double getTotal_amount() {
		return total_amount;
	}

	public void setTotal_amount(Double total_amount) {
		this.total_amount = total_amount;
	}
	public Double getPayment() {
		return payment;
	}

	public void setPayment(Double payment) {
		this.payment = payment;
	}
	public Double getInterest_price() {
		return interest_price;
	}

	public void setInterest_price(Double interest_price) {
		this.interest_price = interest_price;
	}

	public Double getInterest_pay() {
		return interest_pay;
	}

	public void setInterest_pay(Double interest_pay) {
		this.interest_pay = interest_pay;
	}

	public Double getFine_price() {
		return fine_price;
	}

	public void setFine_price(Double fine_price) {
		this.fine_price = fine_price;
	}

	public Integer getLimit_pay() {
		return limit_pay;
	}

	public void setLimit_pay(Integer limit_pay) {
		this.limit_pay = limit_pay;
	}

	public Double getManage_price() {
		return manage_price;
	}

	public void setManage_price(Double manage_price) {
		this.manage_price = manage_price;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	public java.lang.Integer getRefund_status() {
		return refund_status;
	}

	public void setRefund_status(java.lang.Integer refund_status) {
		this.refund_status = refund_status;
	}
	public Long getApprove_refund_time() {
		return approve_refund_time;
	}

	public void setApprove_refund_time(Long approve_refund_time) {
		this.approve_refund_time = approve_refund_time;
	}
	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}

	public Long getLast_update_time() {
		return last_update_time;
	}

	public void setLast_update_time(Long last_update_time) {
		this.last_update_time = last_update_time;
	}

	public Long getConfirm_time() {
		return confirm_time;
	}

	public void setConfirm_time(Long confirm_time) {
		this.confirm_time = confirm_time;
	}

	public Long getClear_date() {
		return clear_date;
	}

	public void setClear_date(Long clear_date) {
		this.clear_date = clear_date;
	}

	public String getOrder_no() {
		return order_no;
	}

	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}

	public String getRefuse_code() {
		return refuse_code;
	}

	public void setRefuse_code(String refuse_code) {
		this.refuse_code = refuse_code;
	}

	public Integer getOrder_type() {
		return order_type;
	}

	public void setOrder_type(Integer order_type) {
		this.order_type = order_type;
	}
	public java.lang.Integer getFund_channel() {
		return fund_channel;
	}

	public void setFund_channel(java.lang.Integer fund_channel) {
		this.fund_channel = fund_channel;
	}
}
